<%@ page import="com.jr.pojo.ProjectInfo" %><%--
  Created by IntelliJ IDEA.
  User: a
  Date: 2025/8/26
  Time: 18:40
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
    <%
        String path = request.getContextPath();
        String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
    %>
        <base href="<%=basePath%>">
</head>
<body>
<%
    ProjectInfo pro = (ProjectInfo)session.getAttribute("pro");
%>
<form action="projectInfo/updatePro" method="post">

    <input type="hidden" name="pid" value="<%=pro.getPid()%>">

    <table>
        <caption>申报项目信息</caption>
        <tr>
            <td>项目编号</td>
            <td><%=pro.getPid()%></td>
        </tr>
        <tr>
            <td>项目名称</td>
            <td><%=pro.getPname()%></td>
        </tr>
        <tr>
            <td>项目开始时间</td>
            <td><%=pro.getStartdate()%></td>
        </tr>
        <tr>
            <td>项目结束时间</td>
            <td><%=pro.getEnddate()%></td>
        </tr>
        <tr>
            <td>项目状态</td>
            <td>
                <select name="status">
                    <option value="1">审核中</option>
                    <option value="2">已审核</option>
                </select>
            </td>
        </tr>
        <tr>
            <td colspan="2">
                <input type="submit" value="审核"/>
                <input type="button" value="返回" onclick="func();"/>
            </td>
        </tr>
    </table>
</form>
<script type="text/javascript">
    function  func() {
          window.location.href="/asd/projectInfo/showdt";
    }
</script>
</body>
</html>
